package com.whu.exam.modules.exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("el_exam_repo")
public class  ExamRepo extends Model<ExamRepo> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "ID", required=true)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 考试ID
     */
    @ApiModelProperty(value = "考试ID", required=true)
    @TableField("exam_id")
    private String examId;

    /**
     * 题库ID
     */
    @ApiModelProperty(value = "题库ID", required=true)
    @TableField("repo_id")
    private String repoId;

    /**
     * 单选题数量
     */
    @ApiModelProperty(value = "单选题数量", required=true)
    @TableField("radio_count")
    private Integer radioCount;

    /**
     * 单选题分数
     */
    @ApiModelProperty(value = "单选题分数", required=true)
    @TableField("radio_score")
    private Integer radioScore;

    /**
     * 多选题数量
     */
    @ApiModelProperty(value = "多选题数量", required=true)
    @TableField("multi_count")
    private Integer multiCount;

    /**
     * 多选题分数
     */
    @ApiModelProperty(value = "多选题分数", required=true)
    @TableField("multi_score")
    private Integer multiScore;

    /**
     * 判断题数量
     */
    @ApiModelProperty(value = "判断题数量", required=true)
    @TableField("judge_count")
    private Integer judgeCount;

    /**
     * 判断题分数
     */
    @ApiModelProperty(value = "判断题分数", required=true)
    @TableField("judge_score")
    private Integer judgeScore;

}
